using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;

namespace Blazing.Web.Util
{
    public class ScriptHelper
    {
        public static void RegisterPrototypeJS(Page callingPage)
        {
            callingPage.ClientScript.RegisterClientScriptInclude("PrototypeJS",
                 callingPage.ClientScript.GetWebResourceUrl(typeof(ScriptHelper), "Blazing.Web.Resources.JavaScript.scriptaculous.prototype.js"));
        }

        public static void RegisterScriptaculousEffectsJS(Page callingPage)
        {
            callingPage.ClientScript.RegisterClientScriptInclude("ScriptaculousEffectsJS",
                 callingPage.ClientScript.GetWebResourceUrl(typeof(ScriptHelper), "Blazing.Web.Resources.JavaScript.scriptaculous.effects.js"));
        }
    }
}
